package com.llxy.worker.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.llxy.worker.mapper.HomemakingJobMapper;
import com.llxy.worker.domain.HomemakingJob;
import com.llxy.worker.service.HomemakingJobService;

import java.util.List;

@Service
public class HomemakingJobServiceImpl implements HomemakingJobService{

    @Resource
    private HomemakingJobMapper homemakingJobMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return homemakingJobMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(HomemakingJob record) {
        return homemakingJobMapper.insert(record);
    }

    @Override
    public int insertSelective(HomemakingJob record) {
        return homemakingJobMapper.insertSelective(record);
    }

    @Override
    public HomemakingJob selectByPrimaryKey(Integer id) {
        return homemakingJobMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(HomemakingJob record) {
        return homemakingJobMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(HomemakingJob record) {
        return homemakingJobMapper.updateByPrimaryKey(record);
    }

    @Override
    public List<HomemakingJob> selectHomemakingJobList(HomemakingJob homemakingJob) {
        return homemakingJobMapper.selectHomemakingJobList(homemakingJob);
    }

}
